package speelotheek.views;

import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import java.awt.Font;
import javax.swing.LayoutStyle.ComponentPlacement;

public class Credits extends JDialog {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7611779489842373041L;

	/**
	 * Create the dialog.
	 */
	public Credits() {
		setTitle("Credits");
		setBounds(100, 100, 460, 400);
		setModal(true);
		setLocationRelativeTo(null);
		
		JLabel lblDevs = new JLabel("Developers:");
		lblDevs.setFont(new Font("Tahoma", Font.BOLD, 14));
		
		JLabel lblMarkName = new JLabel("Mark Barto");
		lblMarkName.setFont(new Font("Tahoma", Font.PLAIN, 12));
		
		JLabel lblJeroenName = new JLabel("Jeroen Aleman");
		lblJeroenName.setFont(new Font("Tahoma", Font.PLAIN, 12));
		JLabel lblJeroenMail = new JLabel("jeroen@mindreaver.nl");
		lblJeroenMail.setFont(new Font("Tahoma", Font.PLAIN, 12));
		
		JLabel lblDennisName = new JLabel("Dennis Peperkamp");
		lblDennisName.setFont(new Font("Tahoma", Font.PLAIN, 12));
		JLabel lblDennisMail = new JLabel("depeperkamp1@gmail.com");
		lblDennisMail.setFont(new Font("Tahoma", Font.PLAIN, 12));
		
		JLabel lblLeonName = new JLabel("L\u00E9on de Groot");
		lblLeonName.setFont(new Font("Tahoma", Font.PLAIN, 12));
		JLabel lblLeonMail = new JLabel("leon90@outlook.com");		
		lblLeonMail.setFont(new Font("Tahoma", Font.PLAIN, 12));
		
		JLabel lblMarkMail = new JLabel("mark.barto@me.com");
		lblMarkMail.setFont(new Font("Tahoma", Font.PLAIN, 12));
		
		JLabel lblProject = new JLabel("Project:");
		lblProject.setFont(new Font("Tahoma", Font.BOLD, 14));
		
		JLabel lblSchool = new JLabel("School:");
		
		JLabel lblDeHaagseHogeschool = new JLabel("De Haagse Hogeschool");
		
		JLabel lblGroep = new JLabel("Groep:");
		
		JLabel lblIdt = new JLabel("I-DT");
		
		JLabel lblDocent = new JLabel("Docent:");
		
		JLabel lblPaulSmit = new JLabel("Paul Smit");
		
		JLabel lblNaam = new JLabel("Naam:");
		
		JLabel lblSpeelotheekklapstuk = new JLabel("Speel-o-theek 'Klapstuk'");
		
		JLabel label = new JLabel("12107816");
		
		JLabel label_1 = new JLabel("12105023");
		
		JLabel label_2 = new JLabel("12080594");
		
		JLabel label_3 = new JLabel("12092452");
		
		GroupLayout groupLayout = new GroupLayout(getContentPane());
		groupLayout.setHorizontalGroup(
			groupLayout.createParallelGroup(Alignment.LEADING)
				.addGroup(groupLayout.createSequentialGroup()
					.addContainerGap()
					.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
						.addGroup(groupLayout.createSequentialGroup()
							.addGap(53)
							.addGroup(groupLayout.createParallelGroup(Alignment.TRAILING)
								.addComponent(label)
								.addComponent(lblSchool)
								.addComponent(lblGroep)
								.addComponent(lblDocent)
								.addComponent(lblNaam)
								.addComponent(label_1)
								.addComponent(label_2)
								.addComponent(label_3))
							.addGap(18)
							.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
								.addComponent(lblSpeelotheekklapstuk)
								.addComponent(lblPaulSmit)
								.addComponent(lblIdt)
								.addComponent(lblDeHaagseHogeschool)
								.addGroup(groupLayout.createSequentialGroup()
									.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
										.addComponent(lblLeonName)
										.addComponent(lblDennisName)
										.addComponent(lblJeroenName)
										.addComponent(lblMarkName))
									.addGap(18)
									.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
										.addComponent(lblDennisMail)
										.addComponent(lblLeonMail)
										.addComponent(lblJeroenMail)
										.addComponent(lblMarkMail)))))
						.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
							.addComponent(lblProject)
							.addComponent(lblDevs)))
					.addContainerGap(120, Short.MAX_VALUE))
		);
		groupLayout.setVerticalGroup(
			groupLayout.createParallelGroup(Alignment.LEADING)
				.addGroup(groupLayout.createSequentialGroup()
					.addContainerGap()
					.addComponent(lblProject)
					.addGap(18)
					.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
						.addComponent(lblSchool)
						.addComponent(lblDeHaagseHogeschool))
					.addGap(18)
					.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
						.addComponent(lblGroep)
						.addComponent(lblIdt))
					.addGap(18)
					.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
						.addComponent(lblDocent)
						.addComponent(lblPaulSmit))
					.addGap(18)
					.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
						.addComponent(lblNaam)
						.addComponent(lblSpeelotheekklapstuk))
					.addGap(18)
					.addComponent(lblDevs)
					.addGap(18)
					.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
						.addComponent(lblMarkMail)
						.addComponent(lblMarkName)
						.addComponent(label_3))
					.addGap(18)
					.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
						.addComponent(lblJeroenMail)
						.addComponent(lblJeroenName)
						.addComponent(label_2))
					.addGap(18)
					.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
						.addComponent(lblDennisMail)
						.addComponent(lblDennisName)
						.addComponent(label_1))
					.addGap(18)
					.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
						.addComponent(label)
						.addComponent(lblLeonMail)
						.addComponent(lblLeonName))
					.addContainerGap(74, Short.MAX_VALUE))
		);
		getContentPane().setLayout(groupLayout);

	}
}
